﻿using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;

namespace eLoan.Models
{
    [Table("BorrowerIdentification")]
    public class BorrowerIdentification : BorrowerIdentificationFields
    { }

    public class BorrowerIdentificationFields
    {
        [Key]
        [DatabaseGeneratedAttribute(DatabaseGeneratedOption.Identity)]
        [Display(Name = "ID")]
        public int ID { get; set; }

        [Display(Name = "Borrower ID")]
        public int BorrowerID { get; set; }

        [Display(Name = "ID Type")]
        [StringLength(30)]
        public string IDType { get; set; }

        [Display(Name = "ID No")]
        [StringLength(30)]
        public string IDNo { get; set; }

        [Display(Name = "Remarks")]
        [StringLength(100)]
        public string Remarks { get; set; }
    }

}